package com.rongxun.hbwallet.mvp.contract;

import com.rongxun.base.IBase;
import com.rongxun.utils.wallet.ETHWallet;

/**
 * 创建者     庄丰泽
 * 创建时间   2018/8/8 14:52
 * 描述	      导入钱包
 */

public interface ILoadWallet {
    interface IView extends IBase.IView {

        void loadSuccess(ETHWallet wallet);
        void showSaveWalletResult(ETHWallet wallet);
        //        void walletAlreadyExist(String tip);
    }

    interface IPresenter extends IBase.IPresenter {
        void loadWalletByMnemonic(String bipPath, String mnemonic, String pwd);

        void loadWalletByKeystore(String keystore, String pwd);

        void loadWalletByPrivateKey(String privateKey, String pwd);

        void saveWallet(String string, ETHWallet wallet);
    }

    interface IModel extends IBase.IModel {
    }
}
